package com.smart.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 直播间消息
 * @author Sunxin
 *
 */

@Entity 
@Table(name = "Message") 
public class Message extends BaseEntity<Message>{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 是否系统消息(如欢迎xxx进入直播间)
	 */
	private boolean systemMessage = false;
	/**
	 * userId
	 */
	private String userId;
	
	/**
	 * 用户称呼
	 */
	private String userName;
	/**
	 * 内容
	 */
	private String content;
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public boolean isSystemMessage() {
		return systemMessage;
	}
	public void setSystemMessage(boolean systemMessage) {
		this.systemMessage = systemMessage;
	}

}
